package cate.common.table.activity.restrictcall.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;

@EExcelRowClass
public class CallItemBaseRow extends ERow {
    @EExcelNoteField(fieldName = "道具ID")
    public String propId;
    @EExcelNoteField(fieldName = "权重",defaultValue = "0")
    public int weight;
    @EExcelNoteField(fieldName = "召唤分组")
    public int callGroup;
    @EExcelNoteField(fieldName = "稀有标识",defaultValue = "0")
    public int isRare;
    @EExcelNoteField(fieldName = "阵营",defaultValue = "0")
    public int camp;


    public String itemPropId;

    @Override
    public void decode() {
        super.decode();
        String[] arr = propId.split(":");
        if (arr.length > 1) {
            itemPropId = arr[1];
        }
    }

}
